import 'babel-polyfill';
import Vue from 'vue';

import ElementUI from 'element-ui';

import defaults from './taskInfo.vue';
import '@/assets/base.css'
import 'element-ui/lib/theme-chalk/index.css';
import http from "../../config/http";


Vue.config.productionTip = false;

Vue.prototype.$http = http.connector

// 添加vue jsx的错误提示
/*Vue.config.errorHandler = (err, vm, info) => {
    console.group(`%cError in ${info}`, 'color:red;font-weight: bold;');
    console.info(err);
    console.dir({err, vm});
    console.error(err);
    console.groupEnd();
};*/

//Vue.use(Cap4i18n);
Vue.use(ElementUI);
new Vue({
    render: h => h(defaults)
}).$mount('#app');
